﻿@using VirtualPress.Infrastructure.Entities.Entity;
@{
    Periodical journal = ViewBag.Journal;
    ViewBag.Title = "新增稿件作者 -- "+journal.Name;
    Layout = "/Areas/WorkSpace/Views/Shared/_WorkSpace.cshtml";
}
<div id="content-header">
    <h1>
        稿件作者管理</h1>
</div>
<div id="breadcrumb">
    <a href="/WorkSpace/console/index" class="tip-bottom"><i class="icon-home"></i>起始页</a> <a href="javascript:">
        个人中心</a> <a href="/WorkSpace/Member/Author">稿件作者</a> <a href="javascript:" class="current">
            新增/编辑作者</a>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon"><i class="icon-pencil"></i></span>
                    <h5>
                        新增/编辑作者</h5>
                    <h5 style="float: right; color: Red;">
                        *为必填</h5>
                </div>
                <div class="widget-content nopadding">
                    <form id="form-wizard" class="form-horizontal" method="post" action="/WorkSpace/console/AuthorInfo">
                    <div id="form-wizard-1" class="step">
                        <div class="control-group">
                            <div class="alert alert-info" style="margin: 10px 20px 10px 20px;">
                                <button type="button" class="close" data-dismiss="alert">
                                    &times;</button>
                                <strong>提示！</strong>如果您是首次投稿，且还未添加稿件，程序将自动引导您到这里添加作者，作者添加完成后可继续投稿！
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                姓 (*)
                            </label>
                            <div class="controls">
                                <input id="txtLastName" type="text" name="LastName" class="{required:true}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                名 (*)
                            </label>
                            <div class="controls">
                                <input id="txtFirstName" type="text" name="FirstName" class="{required:true}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                称谓 (*)
                            </label>
                            <div class="controls">
                                <select id="sltTitle" name="Title">
                                    <option value="先生">先生</option>
                                    <option value="女士">女士</option>
                                    <option value="夫人">夫人</option>
                                    <option value="博士">博士</option>
                                    <option value="教授">教授</option>
                                </select>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                联系邮箱 (*)
                            </label>
                            <div class="controls">
                                <input id="txtEmail" type="text" name="Email" class="{required:true,email:true}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                联系电话 (*)
                            </label>
                            <div class="controls">
                                <input id="txtPhone" type="text" name="Phone" class="{required:true}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                性别
                            </label>
                            <div class="controls">
                                <select id="sltGender" name="Gender">
                                    <option value="1">先生</option>
                                    <option value="0">女士</option>
                                </select>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                所在单位 (*)
                            </label>
                            <div class="controls">
                                <input id="txtDepartment" type="text" name="Department" class="{required:true}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                详细地址
                            </label>
                            <div class="controls">
                                <input id="txtAddress" type="text" name="Address" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                学位 (*)
                            </label>
                            <div class="controls">
                                <select id="sltDegree" name="Degree">
                                    <option value="本科">本科</option>
                                    <option value="硕士">硕士</option>
                                    <option value="博士">博士</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="form-actions">
                        <a class="btn btn-primary" href="/workspace/Member/Author">返回</a>
                        <input id="next" class="btn btn-primary" type="submit" value="保存" />
                    </div>
                    <div id="submitted">
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@section tail
{
    <script type="text/javascript" src="/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/scripts/unicorn.wizard.js"></script>
    <script type="text/javascript" src="/scripts/jquery.metadata.js"></script>
    <script type="text/javascript" src="/scripts/jquery.wizard.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#likorganization').addClass('open active');
        });
    </script>
}
